﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _044.多线程_自定义类传递数据
{
	internal class DownLoadTool
	{
		public string URL { get; set; }
		public string Message { get; set; }


		public DownLoadTool(string uRl, string mssage)
		{
			this.URL = uRl;
			this.Message = mssage;
		}

		public void DownLoad()
		{
            Console.WriteLine("从"+URL+"下载中");
        }
	}
}
